<template>
  <div class="topBox">
    <p class="page_title">{{ props.title }}</p>
    <slot></slot>
  </div>
</template>
<script setup>
import { defineProps } from "vue";
const props = defineProps({
  title: {
    type: String,
    default: "",
  },
});
</script>
<style lang="scss" scoped>
.topBox {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .page_title{
    margin: 0;
    font-size: 22px;
    font-weight: 500;
  }
}
</style>
